import Vue from 'vue'

import {
  NavBar, Form, Field, Icon, Toast, Cell,
  Button, Tabbar, TabbarItem, Tabs, Tab,
  List, PullRefresh, Popup, Badge, CellGroup,
  Dialog, ActionSheet, Row, Col, Search,
  Divider, Tag, Image, DatetimePicker,
  Lazyload
} from 'vant'

const components = [
  NavBar, Form, Field, Icon, Toast, Cell,
  Button, Tabbar, TabbarItem, Tabs, Tab,
  List, PullRefresh, Popup, Badge, CellGroup,
  Dialog, ActionSheet, Row, Col, Search,
  Divider, Tag, Image, DatetimePicker,
  Lazyload
]

components.forEach(item => Vue.use(item))
